Alfresco Index of Web Scripts URI '/api/avmpath/content{property}/{store_id}/{id}'
Alfresco Community v3.2.0 (2039)
3 Web Scripts

Back to Web Scripts Home

Up to uri /api/avmpath/content{property}/{store_id}

Content Delete (deleteContent)
DELETE /alfresco/service/api/node/content{property}/{store_type}/{store_id}/{id}
DELETE /alfresco/service/api/path/content{property}/{store_type}/{store_id}/{id}
DELETE /alfresco/service/api/avmpath/content{property}/{store_id}/{id}
DELETE /alfresco/service/api/node/{store_type}/{store_id}/{id}/content{property}
DELETE /alfresco/service/api/path/{store_type}/{store_id}/{id}/content{property}
Description:
Authentication:guest
Transaction:required
Format Style:argument
Lifecycle:public_api
Default Format:atomentry
Id:org/alfresco/repository/store/content.delete
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/store/content.delete.desc.xml

Content Retrieval (getContent)
GET /alfresco/service/api/node/content{property}/{store_type}/{store_id}/{id}?a={attach?}
GET /alfresco/service/api/path/content{property}/{store_type}/{store_id}/{id}?a={attach?}
GET /alfresco/service/api/avmpath/content{property}/{store_id}/{id}?a={attach?}
GET /alfresco/service/api/node/{store_type}/{store_id}/{id}/content{property}?a={attach?}
GET /alfresco/service/api/path/{store_type}/{store_id}/{id}/content{property}?a={attach?}
Description:The service returns the content-stream for a document. This is the only service that returns content-stream.

Inputs:

ID documentId: Document to return the content-stream
(Optional) Integer offset:
(Optional) Integer length:

Outputs:

Byte[] stream

Notes:

Some CMIS protocol bindings MAY choose not to explicitly implement a “getContentStream” method, in cases where the protocol itself provides built-in mechanisms for retrieving byte streams. (E.g. in the ATOM/REST binding, content streams may be retrieved via standard HTTP gets on an “edit-media” URL, rather than a CMIS-specific “getContentStream” URL). See Part II of the CMIS specification for additional details.
Each CMIS protocol binding will provide a way for fetching a sub-range within a content stream, in a manner appropriate to that protocol.
Authentication:guest
Transaction:required
Format Style:argument
Lifecycle:public_api
Default Format:Determined at run-time
Id:org/alfresco/repository/store/content.get
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/store/content.get.desc.xml

Content Write (setContent)
PUT /alfresco/service/api/node/content{property}/{store_type}/{store_id}/{id}?overwriteFlag={overwriteFlag?}
PUT /alfresco/service/api/path/content{property}/{store_type}/{store_id}/{id}?overwriteFlag={overwriteFlag?}
PUT /alfresco/service/api/avmpath/content{property}/{store_id}/{id}?overwriteFlag={overwriteFlag?}
PUT /alfresco/service/api/node/{store_type}/{store_id}/{id}/content{property}?overwriteFlag={overwriteFlag?}
PUT /alfresco/service/api/path/{store_type}/{store_id}/{id}/content{property}?overwriteFlag={overwriteFlag?}
Description:TODO
Authentication:guest
Transaction:required
Format Style:argument
Lifecycle:draft_public_api
Default Format:text
Id:org/alfresco/repository/store/content.put
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/store/content.put.desc.xml